package com.yjd.bi.report.model;

import java.util.List;

import com.yjd.comm.base.model.Model;
import com.yjd.comm.util.StringUtil;

public class Series extends Model{
	private String name;
	private List<String> data;
	private String type;
	
	public String getType() {
		if(StringUtil.isEmpty(type))
			type="line";
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	/**
	 * 设置数据别名
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}
	public List<String> getData() {
		return data;
	}
	/**
	 * 具体数据数组
	 * @param data
	 */
	public void setData(List<String> data) {
		this.data = data;
	}
}
